import request from '@/utils/request.js'
export const loginApi=data=>request.post('api/home/user/pwdlogin?token=1ec949a15fb709370f',data,{
	header:{
		'Content-Type':"application/x-www-form-urlencoded"
	}
})
//获取会员的信息
export const getUserInfoApi=uid=>request.get(`api/user/myinfo/userinfo/uid/${uid}`)
//安全退出功能
export const logoutApi=uid=>request.post('api/home/user/safeout?token=1ec949a15fb709370f',{uid},{
	header:{
		'Content-Type':"application/x-www-form-urlencoded"
	}
})
//用户的登录认证接口
export const safeApi=(data)=>request.post('api/home/user/safe?token=1ec949a15fb709370f',data,{
	header:{
		'Content-Type':"application/x-www-form-urlencoded"
	}
})